<template>
  <div class="page-container">
    <div>
      <Carousel :imglist="imglist" ></Carousel>
    </div>
    <div class="cha">
        <Search></Search>
    </div>
    <div>
      <Menu></Menu>
    </div>
    <div>
      <Hot></Hot>
    </div>
  </div>
</template>

<script>
  import Carousel from '../../components/common/Carousel'
  import Menu from './child/Menu'
  import Hot from './child/Hot'
  import Search from './child/Search'
  import {getToken} from '@/config/utils.js'

  export default {
    name: "Index",
    components: { Carousel,Menu,Hot,Search},
    data() {
      return {
        imglist:[
          {
            imgurl: 'banner1.jpg',
            path: 'promotionCompany'
          },
          {
            imgurl: 'banner3.jpg',
            path: 'promotionTrademarkNew'
          },
          {
            imgurl: 'banner4.jpg',
            path: 'promotionCompany'
          },
        ],
        value: 'aa',
      }
    },
  }
</script>

<style scoped>
  .cha {
    margin: 0.4rem 0.25rem 0.1rem;
  }
</style>
